package pers.zh.parking.common;

/**
 * 统一请求返回体
 * @param <T>
 */
public class BaseResponse<T> {

    // 响应业务状态
    private String code;

    // 响应消息
    private String msg;

    // 响应中的数据
    private T data;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }
}
